package xiaoqi.qingyue.api.basic.photo.service;

import xiaoqi.qingyue.api.basic.photo.model.entity.Photo;

import java.util.List;

/**
 * @author 92110
 */
public interface PhotoService {
    /**
     * 上传照片
     * @param photo photo
     * @return photo
     */
    Photo uploadPhoto(Photo photo);

    List<Photo> getPhotoList();

    List<Photo> getPhotoListAll();

    void deletePhoto(String id);
}
